package com.qidian.buy.service;

import com.qidian.buy.entity.Customer;
import com.qidian.buy.entity.Orders;
import com.qidian.buy.util.pojo.LayuiTableDTO;
import com.qidian.buy.util.pojo.QDResult;
import com.qidian.buy.util.vo.OrderSaveVo;

/**
 * @Author 郭浩
 */
public interface IOrdersService {
    QDResult save(Orders orders);
    QDResult edit(Orders orders);
    QDResult delete(Orders orders);
    QDResult<Orders> get(Long id);
    LayuiTableDTO<Orders> query(int page, int limit, Orders orders);

    void addOrder(Customer c, OrderSaveVo vo);

}
